Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fq trimming #37

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

fq trimming #37

wants to merge 28 commits into from

Conversation

brentp
Copy link
Collaborator

@brentp brentp commented Aug 16, 2023

implements overlap detection and correction, trimming, masking, oscillation detection.

Ready for early review.

implements overlap detection and correction
@brentp brentp changed the title WIP: fq stuff fq trimming Sep 6, 2023
@@ -109,6 +109,11 @@ fn create_writer<P: AsRef<Path>>(name: P) -> Result<BufWriter<File>, Error> {
Ok(BufWriter::new(File::create(name)?))
}

fn check_extension(p: &Path) -> bool {
let ext = p.extension().map_or("", |v| v.to_str().unwrap_or(""));
["bgz", "gz"].contains(&ext)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants